Optimal. Leaf size=15 \[ \frac {\cos \left (a+\frac {b}{x^2}\right )}{2 b} \]
[Out]
________________________________________________________________________________________
Rubi [A]
time = 0.01, antiderivative size = 15, normalized size of antiderivative = 1.00, number of steps
used = 2, number of rules used = 2, integrand size = 12, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.167, Rules used = {3460, 2718}
\begin {gather*} \frac {\cos \left (a+\frac {b}{x^2}\right )}{2 b} \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
Rule 2718
Rule 3460
Rubi steps
\begin {align*} \int \frac {\sin \left (a+\frac {b}{x^2}\right )}{x^3} \, dx &=-\left (\frac {1}{2} \text {Subst}\left (\int \sin (a+b x) \, dx,x,\frac {1}{x^2}\right )\right )\\ &=\frac {\cos \left (a+\frac {b}{x^2}\right )}{2 b}\\ \end {align*}
________________________________________________________________________________________
Mathematica [A]
time = 0.01, size = 15, normalized size = 1.00 \begin {gather*} \frac {\cos \left (a+\frac {b}{x^2}\right )}{2 b} \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
Maple [A]
time = 0.03, size = 14, normalized size = 0.93
method | result | size |
derivativedivides | \(\frac {\cos \left (a +\frac {b}{x^{2}}\right )}{2 b}\) | \(14\) |
default | \(\frac {\cos \left (a +\frac {b}{x^{2}}\right )}{2 b}\) | \(14\) |
risch | \(\frac {\cos \left (\frac {a \,x^{2}+b}{x^{2}}\right )}{2 b}\) | \(18\) |
norman | \(\frac {1}{b \left (1+\tan ^{2}\left (\frac {a}{2}+\frac {b}{2 x^{2}}\right )\right )}\) | \(22\) |
meijerg | \(-\frac {\sqrt {\pi }\, \cos \left (a \right ) \left (\frac {1}{\sqrt {\pi }}-\frac {\cos \left (\frac {b}{x^{2}}\right )}{\sqrt {\pi }}\right )}{2 b}-\frac {\sin \left (a \right ) \sin \left (\frac {b}{x^{2}}\right )}{2 b}\) | \(40\) |
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Maxima [A]
time = 0.30, size = 13, normalized size = 0.87 \begin {gather*} \frac {\cos \left (a + \frac {b}{x^{2}}\right )}{2 \, b} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Fricas [A]
time = 0.37, size = 17, normalized size = 1.13 \begin {gather*} \frac {\cos \left (\frac {a x^{2} + b}{x^{2}}\right )}{2 \, b} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Sympy [A]
time = 0.63, size = 20, normalized size = 1.33 \begin {gather*} \begin {cases} \frac {\cos {\left (a + \frac {b}{x^{2}} \right )}}{2 b} & \text {for}\: b \neq 0 \\- \frac {\sin {\left (a \right )}}{2 x^{2}} & \text {otherwise} \end {cases} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Giac [A]
time = 4.68, size = 17, normalized size = 1.13 \begin {gather*} \frac {\cos \left (\frac {a x^{2} + b}{x^{2}}\right )}{2 \, b} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Mupad [B]
time = 4.67, size = 13, normalized size = 0.87 \begin {gather*} \frac {\cos \left (a+\frac {b}{x^2}\right )}{2\,b} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________